<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>课程详情</title>
</head>
<body>
<!--    <p th:text="${data}"></p>-->
    <form th:action="@{/page/courseSeckillOrder/updateOrderStatus}" method="post">
<!--        订单id-->
        <input th:value="${data.courseSeckillOrder.id}" type="hidden" name="id"/>
        <input th:value="${data.courseSeckillOrder.seckillId}" type="hidden" name="seckillId"/>
        <p>
            订单编号：<input type="text" th:value="${data.courseSeckillOrder.orderNumber}" name="orderNumber" readonly/>
        </p>
        <p>
            <input th:value="${data.courseSeckillOrder.userId}" type="hidden" name="userId">
            用户名：<input th:value="${data.userDTO.username}" type="text" readonly/>
        </p>
        <p>
            秒杀价：<input type="text" th:value="${data.courseSeckillOrder.seckillPrice}" name="seckillPrice" readonly/>
        </p>
        <p>
            订单时间：<input type="text" th:value="${data.courseSeckillOrder.orderTime}" name="orderTime" readonly/>
        </p>
<!--        <p>-->
<!--            订单状态：-->
<!--            <div th:if="${data.courseSeckillOrder.orderStatus=='n'}">-->
<!--                未支付：<input type="radio" value="未支付" name="orderStatus" checked readonly/>：未支付-->
<!--                已支付：<input type="radio" value="已支付" name="orderStatus" readonly/>：已支付-->
<!--            </div>-->
<!--            <div th:if="${data.courseSeckillOrder.orderStatus=='y'}">-->
<!--               <input type="radio" value="未支付" name="orderStatus" readonly/>：未支付-->
<!--               <input type="radio" value="已支付" name="orderStatus" checked readonly/>：已支付-->
<!--            </div>-->
<!--        </p>-->
        <p>
            <input type="submit" value="支付订单"/>
        </p>
    </form>
</body>
</html>